<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        textarea{
            resize: none;
        }
    </style>
</head>
<body ng-app="noteApp">

<div ng-controller="MyCtr">
    <h2>我的笔记</h2>
    <textarea maxlength="100" name="myNote" id="myNote" cols="30" rows="10" ng-model="message" ng-init="message=''"></textarea>
    <br>
    <div>
        <button ng-click="save()">保存</button>
        <button ng-click="read()">读取</button>
        <button ng-click="dele()">删除</button>
    </div>
    <span>剩余字数{{getCount()}}</span>
</div>

<script type="text/javascript" src="../../js/angular-1.5.5/angular.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>

</html>